package wiki.liven.pojo.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by qiangjun on 2017/3/2.
 */
@TableName(value = "vistersdate")
public class VistersData extends Model<VistersData> {

    @TableId
    private String vid;
    private String macOfUser;
    private Date vistTime;
    private String nameOfMovice;
    private String idOfMovice;//节目ID
    private String stbModel;//机顶盒版本
    private String section;//专区

    public String getVid() {
        return vid;
    }

    public void setVid(String vid) {
        this.vid = vid;
    }

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    public String getStbModel() {
        return stbModel;
    }

    public void setStbModel(String stbModel) {
        this.stbModel = stbModel;
    }

    public String getIdOfMovice() {
        return idOfMovice;
    }

    public void setIdOfMovice(String idOfMovice) {
        this.idOfMovice = idOfMovice;
    }

    public String getNameOfMovice() {
        return nameOfMovice;
    }

    public void setNameOfMovice(String nameOfMovice) {
        this.nameOfMovice = nameOfMovice;
    }

    public Date getVistTime() {
        return vistTime;
    }

    public void setVistTime(Date vistTime) {
        this.vistTime = vistTime;
    }

    public String getMacOfUser() {
        return macOfUser;
    }

    public void setMacOfUser(String macOfUser) {
        this.macOfUser = macOfUser;
    }

    @Override
    protected Serializable pkVal() {
        return this.vid;
    }
}
